<!--{template header}-->

<!--{if empty($op)}-->

<form id="theform" action="do.php?ac=lostpasswd&op=" method="POST" class="c_form">
	<div class="msg_info">
		<div class="msg_content">
			<span>
				取回密码
			</span>
			<p style="margin-top:20px;">
				第一步，请输入您在本站注册的用户名。
			</p>
			<div class="find_uname">
				用户名:<input type="text" class="text" name="username" id="username"/>
			</div>
			<p class="return_link">
				<a href="javascript:jQuery('#theform').submit();">进入下一步</a>
			</p>
			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
			<input type="hidden" name="lostpwsubmit" value="yes" />
		</div>
	</div>
</form>

<!--{elseif $op=='email'}-->

<form id="theform" action="do.php?ac=lostpasswd&op=email" method="POST" class="c_form">
	<div class="msg_info">
		<div class="msg_content">
			<span>
				取回密码
			</span>
			<p style="margin-top:20px;">
				第二步，请正确输入您在本站注册的email地址。
			</p>
			<div class="find_uname">
				邮箱:<input type="text" class="text" name="email" id="email" value="$email"/>
			</div>
			<p class="return_link">
				<a href="javascript:jQuery('#theform').submit();">取回密码</a>
			</p>
			<input type="hidden" id="username" name="username" value="$username">
			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
			<input type="hidden" name="emailsubmit" value="yes" />
		</div>
	</div>
</form>

<!--{elseif $op=='reset'}-->

<form id="theform" action="do.php?ac=lostpasswd&op=reset" method="POST" class="c_form">
	<table cellpadding="0" cellspacing="0" class="formtable">
		<caption>
			<h2>重设密码</h2>
		</caption>
		<tr><th width="100">用户名</th><td><!--{eval echo stripslashes($space['username']);}--></td></tr>
		<tr><th>新密码</th><td><input type="password" id="newpasswd1" name="newpasswd1" value="" class="t_input"> <span id="s_newpasswd1"></span></td></tr>
		<tr><th>确认新密码</th><td><input type="password" id="newpasswd2" name="newpasswd2" value="" class="t_input"> <span id="s_newpasswd2"></span></td></tr>
		<tr><th>&nbsp;</th><td><input type="submit" id="resetsubmit" name="resetsubmit" value="重设密码" class="submit" /></td></tr>
	</table>
	<input type="hidden" name="uid" value="$_GET[uid]" />
	<input type="hidden" name="id" value="$_GET[id]" />
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
</form>

<!--{/if}-->

<!--{template footer}-->